package ch4oopexer1;
/*拖拉机有载重、体积等属性，有启动、加速等方法*/
public class Encryption {
    double weight;
    double volume;

    public Encryption(double weight, double volume) {
        this.weight = weight;
        this.volume = volume;
    }

    public void run(){
        System.out.println("拖拉机启动");
    }
    public void accelerate(){
        System.out.println("拖拉机加速");
    }

}
